Optimal. Leaf size=15 \[ -\frac {16 \cos ^5(a+b x)}{5 b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 15, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {4373, 2645, 30}
\begin {gather*} -\frac {16 \cos ^5(a+b x)}{5 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 2645
Rule 4373
Rubi steps
\begin {align*} \int \csc ^3(a+b x) \sin ^4(2 a+2 b x) \, dx &=16 \int \cos ^4(a+b x) \sin (a+b x) \, dx\\ &=-\frac {16 \text {Subst}\left (\int x^4 \, dx,x,\cos (a+b x)\right )}{b}\\ &=-\frac {16 \cos ^5(a+b x)}{5 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 15, normalized size = 1.00 \begin {gather*} -\frac {16 \cos ^5(a+b x)}{5 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 14, normalized size = 0.93
method | result | size |
default | \(-\frac {16 \left (\cos ^{5}\left (x b +a \right )\right )}{5 b}\) | \(14\) |
risch | \(-\frac {2 \cos \left (x b +a \right )}{b}-\frac {\cos \left (5 x b +5 a \right )}{5 b}-\frac {\cos \left (3 x b +3 a \right )}{b}\) | \(41\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 34 vs.
\(2 (13) = 26\).
time = 0.27, size = 34, normalized size = 2.27 \begin {gather*} -\frac {\cos \left (5 \, b x + 5 \, a\right ) + 5 \, \cos \left (3 \, b x + 3 \, a\right ) + 10 \, \cos \left (b x + a\right )}{5 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.79, size = 13, normalized size = 0.87 \begin {gather*} -\frac {16 \, \cos \left (b x + a\right )^{5}}{5 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 74 vs.
\(2 (13) = 26\).
time = 0.42, size = 74, normalized size = 4.93 \begin {gather*} \frac {32 \, {\left (\frac {10 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{2}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{2}} + \frac {5 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{4}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{4}} + 1\right )}}{5 \, b {\left (\frac {\cos \left (b x + a\right ) - 1}{\cos \left (b x + a\right ) + 1} - 1\right )}^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 13, normalized size = 0.87 \begin {gather*} -\frac {16\,{\cos \left (a+b\,x\right )}^5}{5\,b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________